Fixed major bug in ImgComparator
Fixed bug in LabelingComparator