updated the menu, included more items, and implemented corresponding actionListeners