working on BetterLocker, minor things

Trying to implement Rabin-Karp rolling hash in BetterLocker. It's
working-ish, but doesn't dedup. Still debugging.