Adding draft of some new mismatch result code to support retracting.
Adding in more result set stuff, and a left-and-right-mapped count.
Fixing a typo