Add build; reformatting; fix pathfinding.