* fixed an issue in the ROI subtraction.
* fixed some issues with ROIXDStack.
* better backward compatibility.