May be the hack in the mainwindow should be changed to load the provider config when it needs it, assuming it's there or something.