- crashcatcher: hide the main window before doing anything and also write the crashlog into a file