Here is one solution, piling up a few techniques.
We need multiple supercontrols that need to independently operate a subcontrol that groups and operates the show/hide buttons.
The problem is that the supercontrol stimulus remains active, so those layouts sort of lock up when the supercontrols are sending different values to the button grouper. Supercontrol relationships are always-on unless you use the enable button feature - but trying to switch the supercontrols on and off in this instance just pushes the same challenge down one level.
We are going to "break" this lockout by using our StreamByter wrap around message to only stimulate the subcontrols momentarily. Instead of the always-on relationship, we use the same hierarchy implemented with a MIDI message.
The three show/hide relays have the same number of ticks* as the picker supercontrols, all set at the same value. SH0 = 0, SH1 = 64, SH2 = 127. (Four would be 0, 48, 96, 127; etc). Type SysEx, 00 01 7E 77 0 V, MIDI Receive OFF (If MIDI receive is ON, then the same lockup happens as if direct supercontrol). * The auto prompt will always try to change these to two ticks when you set the MIDI on and off to the same value, so do not accept this change
The GP SH button has the same SysEx value, 00 01 7E 77 0 V, MIDI Receive ON
Each picker has its own set of subcontrols that send the necessary bank and program changes, Ccs, etc., to set up the desired patches.
SH Buttons are No MIDI Receive.
All the yellow controls can be hidden in play, leaving just the pickers and panels visible.
I had not considered the "wrap around" message independent of StreamByter. MIDI SysEx with the header F0 00 01 7E 77 .. wraps around to the input of MD. We don't need any SB code here, just a separate control to receive the wrap around message, and ensure all the possible senders have MIDI Receive off to avoid lockup. In this case I added an extra 0, so you could add additional wrap arounds if needed (1, 2, etc)
Dsabou comes up with interesting solutions, so he might recommend an architecture to achieve this architecture.