changed game over screen layout and added if statements to key input to prevent unexpected commands at the title screen