update for plz.
improve the debug logging.
fix bug: commit should be carried through chains.
an exception thrown in onMatch should preserve commit, and track position correctly.
add better debugging messages.
clean up error message selection.
pass commit thru.