Live capture test corrected
Cleanup of LiveCaptureThread