unregister listener + other stuff