removed commented game loop code/old callbacks