remove crash uipon buggy inputs add buggy example input file unify fcn returns: 0 is OK, 1 is bad Improve on error message for bad syntax