I'm not on a system where 1.5.3 can be easily installed. I'd appreciate it if you could see if 1.5.3 fixes this.

The script is actually the venerable ScribusGenerator. It's using save() to export the PDF. The other day I had to do a data merge with over 1,000 records, so the constantly focus-stealing window caused me some grief.