Added persistent undo tree and delimitMate