added facility for sending non-fatal warnings back to caller.