static void Main(string[] args) { Configuration.EnableObjectTracking = true; var app = new LightingDemo(Process.GetCurrentProcess().Handle); if (!app.Init()) { return; } app.Run(); }