New code for the ROI (setRoi) based on the Roi utility functions.

Also should take care of the case of FullAOIControl==false.