mainwindow: Explicitely update application title when needed

That broke when we stopped calling _syncDoUndo(), disabling a bit more
undo/redo