Pathfinding is slow as molasses at the moment but seems to work.