add vsync, remove sleeping in game loop. #45