Removed the menu for the document window.