Proposed trivial changes

Only issue I foresee is if edgar gets ported to Windows. If you're not keen on printing error messages to `stderr`, I can send another patch that redirects `stderr` to an error log file.