class_sqlThread.py - changing prints to loggers

Further work on gradually changing all prints to logger calls.