Added some ActionListeners to the menu bar.