Updated comments and timestamp logging.