Remove the main_loop function from bot, call bot.process directly from the connection.
Get rid of output_queue, instead just have a send() method on IRCProtocol that sends directly.
Add logger property to event
Set config indent to 4, to be more standard and to comply with the default config