If a group is hidden, its name still appears as a tab

but the tab is empty whichi is confusing for the user.
Merge pull request #1220 from jfquestiaux/patch-14

If a group is hidden, its name still appears as a tab