Mind adding a simple test for rewinding an empty UndoStack? That doesn't seem to be an edge case that has been tested yet.