added an option in GUI to turn on/off the behavior of cursor jumping to the beginning of error location
Merge origin/master