Added menubar to the main window