email on fatal error, debug log tweak