public void stopGame() {
		// Setting isRunning to false will
		// make the thread stop (see run())
		this.isRunning = false;

		// Unset the game model...
		this.view.setModel(null);

		// Stop listening for events
		this.view.removeKeyListener(this.keyListener);

		// Make sure we wait until the thread has stopped...
		if (this.gameThread != null) {
			while (this.gameThread.isAlive()) {
				try {
					Thread.sleep(100);
				} catch (InterruptedException ie) {
					// Pass the call on.
					Thread.currentThread().interrupt();
				}
			}
		}
	}