Various Changes

pathfinder.py especially