WIP - refactoring the reveal_tab code so as to generalize it for subtabs, too. Only just started, though. This version shouldn't break anything, but it's not doing anything new, either.