Images tweaks

This pull request is mainly cleanup but it also addresses an issue with the wand backend not making a copy of an image before resizing it (I'm not sure if this solves #264 though as I haven't been able to reproduce it locally).