You make an excellent point(s) and I really appreciate your lengthy discussion of this with me. I think I have learned a very important lesson lesson (doesn't always DWIM inside of '').
How would I code it? I don't think for 1 second that I could do a better job than those who faced this problem. But, I would love to try. I would have to see how it is done now. I know in coding, sometimes you paint yourself in a corner and for architecture reasons these things happen as artifacts of the design, and it cannot be changed.