changed header msg a bit
optimized by splitting time list into small bins; merging 2 hdr fwrites; using (un)likely
separated processing into 2 threads; fixed some bugs in new time-bin based lists
add seq_num field to event and increment global seq_num only in generator thrd

use integer sec.nsec instead of double time in printouts as they are inaccurate