Very odd indeed. Well, as I said, it's old code from A5 days that I'm updating after about a year's absence. I wrote it while using the A5 demo so long ago, guess I have a little more analysis to do. If I find something before giving up and starting from scratch, I will share the results, in case someone else reports a similar error.
Thanks jcl.
Mark