Added menu item to toggle warnings