merge 10/18

Changed depth first algorithm, and refactored some of the Dijkstra's. Conflicts with pathfinding could have been part of the CanSeeObject function.