tweaks to NO_PLUGIN_STATE logic
more plugin state debugging