Enhance Undo for Rapidly Changing Controls

Now the undo history merges sequential changes on the same control
when they shortly follow eachother.
This avoids creating a very long history for what was a simple slide
of a control.