Selective undo

And could be further improved by a filter, simply a text box you could type keywords into, would be a great start.