Link the rtgiri static lib instead of long path .o
Read the argv instead of waiting for an input
Clean up Tracing for thread safe