public static void main(String[] args) throws Exception {
		try {
			Locale.setDefault(Locale.US);
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		} catch(Exception e) { /* Failure is somewhat unimportant. */
		}

		if(!isDevelopmentEnvironment()) {
			// We only need to manually load the libraries if we are not
			// in development, as the development system takes care of that.
			loadLibraries();
			/* TODO add NOGUI command line switch and stuff */
			System.setProperty("org.lwjgl.librarypath", new File(NATIVE_DIR).getAbsolutePath());
		}

		final Engine engine = new Engine();

		EventQueue.invokeLater(new Runnable() {
			@Override
			public void run() {
				MainWindow window = new MainWindow();
				window.setEngine(engine);
				window.setVisible(true);
				window.start();
			}
		});

		try {
			Thread.sleep(Long.MAX_VALUE);
		} catch(InterruptedException e) {
			e.printStackTrace();
		}
	}