changed resolveOvlp from QMessageBox to QDialog in order to work towards displaying contours over images. Other changes with same objective to other classes.