Undo/Redo important improvements:
* Typing a sequence of characters now remove/add all of them when undo/redo
* Create a test for undo/redo
* Invalidate the redo stack if there's a change after undo