Well, even though I still have the problem in the development environment, I find that there is no problem with the executable when I use the new PBD.
I would still like to understand what's going on. I've had this sort of problem before, although long enough ago that I don't remember what I did to fix it.
TIA
LAS