Errors.m: Don't print a backtrace if it is empty
RunKranc.m: Tidy up exception handling and fix exit code propagation