Some slight improvements to showing some information about the editor in the status bar (#277).

Functionally speaking, there is no difference, but in debug mode it
prevents us from receiving some warnings on Windows. Indeed, it to call
removeWidget() obviously means that the status bar loses track of the
widget, which means that when we try to remove the same widget a second
time, we get a warning about the widget not being found…