Use persistent undo.
Fix comments.