Qt UI: Fix ...

* Double initialization menu widget.
* Small memory leak when creating a menu widget.