Threading failed and main window logo