plugins add preferences through addPluginSettings

addPluginSettings is defined by plugin

This was changed to avoid double calls to .fit()
which is buggy on win32