add report back to nzbget and dognzb/indexer. #531
use consistent env fetching. #531
allow nzbget or sabnzbd to report failure.
ensure env variable exists. Fixes #533