Fixed some crashers relating to notifications

We were setting up notifications in places where methods were being swizzled.
It is important that we unregister for these notifications when the swizzled
object is about to be deleted.