140626 Main thread csv write for general output