updated the printdebug routine to correctly handle 'exit' and 'fail' debug calls
updated the printdebug routine to correctly handle 'exit' and 'fail' debug calls

diddledan/CRIMP,diddledan/CRIMP,diddledan/CRIMP,diddledan/CRIMP