Fixed the usage print-out.
Fixed the wait-time at exit when waiting for the sample thread to exit.