got pathfinding working better, including the draw