the game loop is functional. Lots of tweaks left to do.