Delayed undo- and redo stack modification, during undo and redo
operations, till commit of undo- and redo transcation handlers,
respectively.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>