Added MenuState application state for the finite state machine. Fixed some bugs with Button and Input that were discovered through testing.