added deny hook, made note an object

to track plugin denials