Added undo-tree mode