Fixed config and fixed window creation on hidden QtWidgets