added usleep(10000) to monitor.cc; first draft of testcapture.cc--still having errors causing USB bus shutdown