Worked on this one recently.

Very unusual problem, and thanks to those here who helped me to solve it.