cleaning up print statements
put closing of log file in a try block to prevent failures in garbage collection, commented out the unused data file from StepControl
commented out a few more print statements that don't scale