now logs to the opentix log file, and some changes in prep of moving to python3