public static void Terminate() { instance.TerminateInternal (); Desktop.Terminate (); instance = null; }