Add undotree for easier redo