Added a method to MenuBar to remove all menus