New constructor argument SM
When clicking the GUI element play change gamestate
Gamestate's now holds reference to state manager
New arguments to gamestate's constructors.