small tweaks to plugin logging and calls