code: public static void keepMainThread(Runnable toContinue) {
  		mainThread = Thread.currentThread();
  		Thread thread = new Thread(toContinue, "LC Core - Main");
  		thread.start();
  		mainThreadLoop();
  	}
docs: Because some systems may need to use the main thread for specific action (like Cocoa),
  we keep the current thread aside, and continue on a new thread.
  @param toContinue the Runnable to run on a new Thread to continue the application startup