Changed the CSV output module to create the files and add log lines at pretty times, that is, times which are an integer number of periods since midnight.