Was the original intent for this function to address duty cycle limits? Would explain making it long.
I believe the intent for having an adjustable retry delay had to do with the fact that some power sources wont retry immediately (if a delay of a certain length hasn't elapsed). Hypertherm for example, requires no delay to attempt to restart the arc. Others do.
The code in the handler defaulted this parameter to 0 if it was not present in the preferences file (which it never is upon the very first run of the GUI). The issue was that the minimum value for the spinbox you see in the GUI was 1. When that happens, qtvcp apparently defaults to the maximum value, rather than the minimum value. The maximum value for the spinbox was set at 60.