Drop some debug output from mask.c, and only talk if we're
the main process.