return NODATA in more cases and be more picky about children's exit codes.