Added the ability to disable and enable menus and items.