added automatic repaint to BoardView.