Build #6

more work on the gameloop