ui: Ignore showNormalIfMinimized in initialization or shutdown

Also get rid of ui_interface flag NOSHOWGUI. It's up to the GUI to decide this. Inspired by #4518.

Fixes #4360.