Converted capture code from C++ class to C.
Incorporated basic multithreading w/ "capture" and "processing" threads.