1.0.1.2: Re-built the per-day log file feature; wrapped log writing in trycatch to improve reliability.