Reorganized code
Fixed threading errors and allowed access to "client" in IpCamDevice. Fixed other minor bugs in CameraManager and OpenURLDialog.