Import of the orig PUTTY source
Added part that does sound
VS loves to make files