core: Added plugin name to (some) error reporting