Put all the debug in the log window

Don't emit debug before we installed the hook and created he log window
Also no debug if we use --help
Do not forget the config on the second page of the wizzard

Fixes mirral issue #874 where certificate was not stored on the first
page