/part channels when tabs are closed

The codepaths for closing tabs with keyboard and mouse were inconsistent.
This is slightly better but i can't help but imagine that using something
like an NSController or even just bindings would make this a lot easier
to manage.