Log to text file on stop/closing
Added headers to the log file
Slight tweak to the counter display timer