Prevent overriding $img variable

imagesLoaded returns an instance, not what we need here
Replace imageFill() with imagefill()
Merge pull request #6 from tombeynon/master

Bug fix and documentation correction