edgar.c: remove croak() function and do real error handling.