Fix up the remove tab code, also actually makes it so removing a tab still lets you see the other tabs.