Separated game and draw loops.