Added Threading to AVT Camera & Error Handling
Fixed merge conflict