- game loop main threaded.