I've tried the superheating part of the script and it seemed to try to click too fast and then go onto inventory tab too fast, before the game would and click use instead of casting on the ore.
I have noticed that a similar thing occurs when depositing items; it will deposit the first bar, and before the game has removed the bars from the inventory, the script tries to deposit the second bar.
I guess this would be same reason that when trying to withdraw ores, it sometimes shuts down and reports (usually) that it has failed to withdraw secondary ores.
I have added some waits into the superheating part of the script and deceased mousespeed to increase a general runtime of about 10 mins to at least 30 mins (depending on my luck when withdrawing and depositing).
All in all though, a nice script and with few adjustments, can run for a long time unattended.
As always, thanks for sharing @
Flight;.
Edit: "You must spread some Reputation around before giving it to Flight again."