Just a heads up about an ongoing problem with the site. My host (great though they are!) handles long-running scripts on the server by balancing all requests at a given time: if resources are at a minimum, they may kill the occasional process. It’s fair, but sure a pain! So if you see them from time to time, it’s nothing to do with the actual code or scripts.
Once I finish up a few other things I’ll figure out how to best solve this – but it’ll probably mean upgrading my hosting package to allow more resources.