fixed pathfinder crash, changed ambient color for debugging