added menubar to jframe
simplified gui code, added menu bar