progress with robot AI and fixed pathfinding, #1732