removed broken date sort; added header mode; improved arg error reporting
printed headers no longer include uid