minor tweaks, fixing image resizing properly.