changed mouseEvent to ActionEvent in the listener for the 'map' menu
item