Fixed a bunch of possible sources of memory leak.
Always unbind your listeners.