Updated d-t-m
Ported all console messages to the log system
Logging improvements