Fix some of my errors, slight changes

Short-range pathfinder now even more short-ranged so that it might
actually be used sensibly. inlined some stuffs 'cause why not.
Need to figure out why static formations aren't obstructions for the
short-range pathfinder.