forward declares CAMImageWell to make compilation possible
misc. control logic