if a tab has no content, just remove it...