minor tweaks, fixing image resizing properly.
Merge pull request #73 from catehstn/master

minor tweaks, fixing image resizing properly.