Add changing of time parameters

Added dialogs that allow user to specify duration of game, and length of turns.

Also added some input validation for the class selection dialogs, returning a default value if the user presses cancel or closes the dialog window.