Correct bug in updates to size in the set method.
Add KVPair.toString, mostly to support experiments.