Added CSV logging
merged branch logfile
added window name to logs