Tweak error text; add sanity checks

- set +o pipefail before the dig command in case someone
  did something dumb earlier
- add "--" before the $PID in the kill command in case the file
  contains garbage
- tweak some output for better readability