plugin_id now required in manifest, added thread tracking for threaded plugins.