The purpose of the menuHandler is to define the actions to be performed
with each menu item chosen by a user. For discussion purposes, we break
the menu items into three groups, pausing/resuming the animation, changing the display
screen/window and setting the animation speed.