lightirc: cleanups and bugfixes

* lotta both of the above in this release