Is this THE undo-tree I've heard of? I think it is. Major thank you to all implementors of this concept.