assert in AudioPluginFormatManager::createPluginInstance

Couldn’t we add an assert (MessageManager::isThisTheMessageThread()) with a comment to inform people when they try to instantiate an audio plugin from the wrong thread?

Yes, not a bad idea!