Improve and consolidate writing of multiple lines to logfile; add default swapping of TMAX and TMIN
Update .gitignore