correct zlst_insert(); modify pid list update mechanism in ts.c; change fprintf into RPT