fixed unresponsive board after traceback
added path painting, and cleannig up after running if pressed on map