Added GameState logic and loading screen.