Change curCam to string to try to fix toggling problems.