wavfile.h error checking
script: marge as well as homer