The transformer is only switched ON when the weld button is pressed meaning, the transformer is switched ON manually with the press of a button. Are you talking about the leakage current when it is OFF ?As the primary current is quite low there will not be very much voltage drop across the lamp (Or resistor if you use one instead of a lamp.).
Albert has his own library which needs to be added to his code. The library is on his site without which there would be compile errors.
