Saving/loading bugfixes. Pathfinding fix.