Added Threading for Camera