Improved error logging/catching for ModBmx plugin
Improved error logging for RabbitMQ plugin
Cleaned up code around error loggin