Move chanmap init out of main; improve repeating starttime decode; improve statistics data dump; clean up irrelevant header stuff