Physics tweaks, pathfinding and editor