Some fixes to the polari irc client