Main game loop
Lots of things