Moved dupe checking code into beenHere().
Wrote sanityCheck() to catch URLs with spaces in them.
Wrote filterUrl() to remove hashmarks from URLs. (Thanks, Apple!)
Now filtering out ".." for parent directories.
Now removing groups of 2 or more slashes and single dots.