Improved paste behavior.
Fixed potential crash due to type mismatch in est and spent committers.
Added headers for paste and del undo/redo.