#206 - Added most of the known functionality needed for cancel as undo.