Stop finding paths when enough are found (RIPD-156)
Pathfinder cleanups, more efficient 'd' handling (RIPD-156)