Merge pull request #83 from csmith/master

Really minor style changes.
Don't part if the server is closing.

This stops us leaving all channels when closing a server through
the treeview, which is inefficient at best, and destructive to
bouncer users.

Fixes issue #17