private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e) { Core.HandleCrashed(e.ExceptionObject as Exception); }