Fixed errors popping up when publishing the config for plugins without a config. Fixed loading config of plugins.