misc fixes in PluginUtil
Merge remote-tracking branch 'origin/master'