Fix nasty bug in listener comparison which prevented multiple listeners
in some instances.  also, clean up notifications upon registration.