Some testing and debugging done for LM, TM, commit, undos, abort, etc. Added the last undos (for middleware).
Merged