Reformats plugin and moves custom events into plugin file.
Removes obsolete favicon file.