Game loop, update and rendering now all seperated.