Thanks for looking into this. If you find a way of reproducing this somewhat reliably with your script (a minimal version if possible) please do email it to me and I'll check it out. If I can reproduce the crash I should be able to track down the issue.