#1 error checking added to ignore classes.
#2 function to ignore and don't log message strings added.