Exception and error logging mechanisms are completely improved. Huge CHANGE