Update DFS. Push to switch systems.

Added comments.
Fixed path queueing.