Irclib upgrade

The irclib should be functional now. There may be minor, hidden bugs but I have not found anything substantial.