minor changes, when repaint() for board is called, everything gets messed up in the GUI