remove unused code, some corrections in private CTors
limiting segfault when closing installation wizard before the end of the process. There are stil one segfault on mac when deleting the QMenuBar...