Reorganized flow of key presses to permit different modes. Modes such as if there is a menu up or if there is nothing going on IE normal circumstance