Hey,
Thank you very much for this detailed report. I've just had a look at the stack trace you've provided, and i'm not sure what could be causing this. Everything seems to be in order with the code, although I found a potential race condition (i'd be surprised if this was the root of the issue, but i've just patched it so we will see). As for the animation situation, this is a tough one to fix, but i've updated the timer associated with animation tracking to be less sensitive. This should hopefully reduce the frequency of interruptions caused by cancelled animations. Here's the update details:
Update - version 2.06:
Increased animation threshold, script should now re-start smelting/forging/smithing only when actually stopped.
Fixed potential race condition in widget discovery code causing NPEs at runtime.
Best
Apa
Sure - trial activated!
Apa