private void doMenuLogic() {
		if(menuControlsBuffer.isEmpty()) {
			return;
		}
		
		int key = 0;
		
		try {
			key = menuControlsBuffer.dequeue();
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		
		if(key == KeyEvent.VK_UP) {
			if(selectedMenuItem == 0) {
				selectedMenuItem = 2;
			} else {
				selectedMenuItem--;
			}
		} else if(key == KeyEvent.VK_DOWN) {
			if(selectedMenuItem == 2) {
				selectedMenuItem = 0;
			} else {
				selectedMenuItem++;
			}
		} else if(key == KeyEvent.VK_ENTER) {
			if(selectedMenuItem == 0) { // Start button
				resetGame();
				gameState = 1;
			} else if(selectedMenuItem == 1) { // Settings button
				// TODO: Create the settings menu
			} else { // Exit button
				timer.stop();
				//Spaceship.spaceship.dispose();
			}
		} 
	}