Add an index.
Update SmartIrc4net, hopefully it's less cpu hungry.
Simplify irc code a bit.

Send messages as critical so they're sent immediately. This way we
don't have to try to wait until all messages have been sent before
disconnecting.