Changes to make MeasureImage.py compatible with new features of IQMon.