add camobserver stateChanged fun -> cam: toggleopenclosestate, connect signals, core: updateCamstate - find cam and call cam->toggleopenclosestate