adds more comments, and turns AutoFlush on for the log file