2.8: dispose of all events when a module is unloaded just in case there are cyclical references.