working on threading video capture and save