A few small Halide tweaks

Summarized in the individual commits