Pathfinding improvements

Mira has been doing a significant amount of work on the pathfinder across several pull requests, such so that it deserves its own blog post :-). Technically speaking: The pathfinder is no longer a static class and is now adapted to the actual map size, which opens the door for larger maps without issues. Neighbour [ ]