minor cleanup on imagemagick tools

these are just minor things, same as my comments inline