Refactored State to an abstract class with rendering and input handling.
Update to StateManager for accessors and dictionary indexing. ADded main menu state.
Added functionality to render strings and debugging.