Removed the self-messaging hack, since it does not make a difference.
Enabled the error listener.
Wrapped everything in try-catch as a last resort.