Split renderer from main game loop, so can select output