public static void startRemote2D(Remote2DGame game) {
		
		if(System.getProperty("os.name").toLowerCase().indexOf("mac") != -1)
		{
			System.setProperty("apple.laf.useScreenMenuBar", "true");
			System.setProperty("com.apple.mrj.application.apple.menu.about.name", "Remote2D");
			System.setProperty("apple.awt.UIElement", "false");
			Application application = new DefaultApplication();
			application.addApplicationListener(new MacUIHandler());
			application.setEnabledPreferencesMenu(false);
			
			if(game.getIconPath() != null && game.getIconPath().length > 0)
				application.setApplicationIconImage(TextureLoader.loadImage(game.getIconPath()[0]));
		}
				
		Thread thread = new Thread("Remote2D Thread") {
			
			@Override
			public void run()
			{
				Remote2D.start();
			}
			
		};
		
		Remote2D.game = game;
		thread.start();
		
	}