Clear events before killing tox. Fixes a rare crash in Toxy

- Unregister a callback if there are no subscribers left
- Don't use 'Invoker' for audio/video events