public static void main(String[] args) {

		// Add Window Listener
		frame.addWindowListener(new WindowAdapter() {
			@Override
			public void windowClosing(WindowEvent e) {
				System.exit(0);
			}
		});

		String[] gameModes = { "Kirby", "Mario" };
		String gameSelect = (String) JOptionPane.showInputDialog(null,
				"Choose Game Mode", "RunBitMan 2", JOptionPane.PLAIN_MESSAGE,
				null, gameModes, "Kirby");

		if ((gameSelect != null) && (gameSelect.length() > 0)) {
			if (gameSelect.equals("Kirby")) {
				Kirby mode = new Kirby();
				mode.cycler();
			}
			if (gameSelect.equals("Mario")) {
				Mario mode = new Mario();
				mode.cycler();
			} else {
				System.exit(0);
			}
		} else {
			System.exit(0);
		}
	}