Decouple modules from main program by using generic fprintf(stderr) calls instead of ERROR() macros.