Simplify has_zero_byte.
Improve code and comments in gadget_print.