Debug bugfix: Would report wrong time, mismatch with timestamp.
Adds gitignore .csv and .log files.
Minor improvement.
Experimenting with setting timezone. However, it is not behaving as I expected. If local time is CEST, enforcing TZ=CEST gives correct time -2 hours, probably because CEST is +0200 (ISO offset). On the other hand enforcing TZ=CET gives the correct time. Other TZs like UTC/GMT works as expected. It seems one have to be careful not to enforce the same timezone as the local time or end up with strange results. (if TZ = local TZ then break)
Bugfix: Now detects if system TZ == local TZ then skips setting it 'again' to avoid the 'TZ-bug'. Also moved the system TZ setting to the config file. Further, now exits if sys TZ is not set since the wrong timezone will seriously screw up the statistics.