Pressing spacebar now exits