Documented NetworkPathFinder and added a way to prevent infinite loops during pathfinding