edited gameStateManager to be more efficient. 
only the state at hand is loaded instead of everything at once