Added way to disable undo operation registration

It comes up from time to time that you may not want some edits to be
registered. I had removed this as part of the async shuffling.