Repair error and add debug mode
Add save to log
Add save to log
Add eval to all thread
Attach file to mail with error recoginition
Add create file error to croack