lightirc: multiple updates

* start parsing mode changes
* fix possiblilty of empty channels/nicks
* fix multiples NPEs
* fix a load of other bugs