stop using a ridiculous number of redundant <span>s, and small fixups

(viz., wordlist download, directories present in clean clone, leaking
file handle, suboptimal module name)