Fixes #6749. can cure issues like #6749.
Setting a invalid Proxy (-proxy) or TorProxy (-onion) over the GUI settings panel will result in an InitError() (terminate the app) during the next app startup. Qt stores its settings in the windows registry and similar infrastructures and are therefore non-trivial to flush.
This PR adds a startup argument -resetguisettings which resets all GUI settings and reenable a smooth startup.
This does not affect the bitcoin.conf file (different settings layer).
I'm not entirely happy with this solution because some (most?) non expert users have problems starting bitcoin-qt with a command line argument because it involves opening a shell (cmd.exe, etc.).