MenuBar implemented in main program