Updates to base gameLoop