Added log-file headers to log files
Small fixes for logging
Added option to archive old logs

Tell me if you find a more appreatiate place to have the zipping.
It has to be after we are done using the logger.