Small adjustments in error handling within term editor. See also issue
GSCF #76 on github