added time stamp to decode.C and started on automatic ON channel detection