Update lmdb-semantics.md

Some typos, and a bit of dbi cleanup cruft.