Sorry, if I understand your fix, it won't solve the problem of the switch being deleted when the last occurrence of it is gone from a trigger. It would still need to be redefined if used in another trigger.
I just remembered and thought that I should mention that the other main advantage of switches over pubVars is that they retain their state between different chrome profiles which pubVars do not.
I think they should be delinked from being solely defined in trigger conditions altogether and you should be able to manage them in the switches
box on the AutoControl Configuration Page as explained before.
Thanks.