Logs now go into timestamped files; optimized the console output.