added a simple menu to main window