deleting all mappings to directories in working directory path
tweak
Interweave some comments.

I'm normally not big on comments, but I thought I could validate my
reading of the code and answer future questions at the same time.