gui: tolerance feature (WIP)

. added options to use the tolerance feature
. splited the Detection and Correction tab in two