Pathfinding works, writes image
Slightly cleaner database