hide menus consisting entirely of hidden commands
hide submenus consisting entirely of hidden commands (cocoa)