Fix crash when using commands on startup which need a widget.
Fix statusbar text when entering insert mode via hints.

Before, hints cleaned the statusbar text delayed, clearing the "==== INSERT
MODE ====" in the statusbar.

Now we only reset the text if it wasn't changed.
Make it possible to use pdb for debugging.