added ability to turn off main menu items