Reworked the image resizing/slicing a little.