lightirc: fix weirdness when a channel is parted

* When the channel is in the middle of the ViewPager is parted from,
major weirdness ensues. This commit fixes that with a very big but nick
looking hack. Fixes #17
* Also some formatting fixes