Hi Bob, I think that the script itself is not the real cause of the problem.
I had crashes even with other scripts under Windows (-> Bug report section).
But it is helpful for Juan (our PI Master) for debugging, as he said in another post, that he
rewrote a lot of code inside PI.
So we should wait for Juan to investigate this - he surely has a lot of work to do
and therefore we should give him some time. It is also possible, that this behaviour can be
corrected with some other patches that will come soon.
Thanks again for providing your script - this is really great work !!