moved trace.c and udp.c to tracelib
renamed dotrace() and udpdotrace()