improved pathfinding, added graphical node display