Modify LogicLoop and RenderLoop to accept any instance of Game