threading and better pathfinding