making ofxQCAR more thread safe.