fixed an issue where self needed to be initialized so that the plugin will properly register with the listener thread