closed #2497
added error false
properly pass in error value for locally installed plugin
dont crash if config is undefined, added error to plugins
derp
fixed event name