Implementation variants: rehashing and refocusing

To save anyone time, the lockfile thread is at Lock files, again (but this time w/ sdists!).

I do not intend to address lockfiles with an initial prototype, and I hope we can discuss the other, more fundamental issues first.