undo-stack is now trimmed to 20 elements