Switch implementation to a simple undo manager.