added several new features, including length calculation, display the starting and ending points of the ROI