Made sense to me in theory, @Beverleyh. But I think it’s not working as expected. Tricky function’s got one more twist up it’s sleeve. Looks like it should be this instead:
if (!remain || delay < 500)
Also edited again and still thinking about it. :-p
Which might come down to this:
if (delay < 500)
Slightly wrinkling my brain at the moment so I may have to come back on it again.