Fix for #380, fallback to last open tab when closing tabs
Better detection for last open panel
Add tab fallback for removed panels that have not been expressly closed
Send the right object when removing panel
Removing useless part
Merge branch 'fix_380' of https://github.com/CoryChaplin/KiwiIRC into CoryChaplin-fix_380
Merge branch 'CoryChaplin-fix_380' into development