added "Main Window" menu item to window menu to restore window after close.