Changed interface for a base class, to allow for a constructor with
parameters.
Changed event handlers to have a clear function for changing screen
states.