remove some ie debug code, allow the main menu to toggle