Updated run.py.  Cleaned up console output, fixed inefficient memory usage, csv file is now cleared correctly