Writing preferences to the memory is unnecessary.
Use get_pref() to detect whether preference is installed.
Separate uninstall method.
Only publishers need to see this.
Unneeded global.
Unneeded arguments.
Initialize at the bottom.
Bump the date.