Stop the beep (though late and you seem to be fixing the code now)

Code:
Break On
Dim $NB
$NB=WriteValue('HKCU\Control Panel\Sound','Beep','No',REG_SZ)