Added repaint after each turn.