Fix undotree.
Fix output messages.