General utility for testing emptiness
Do a better job of checking if images exist.
Remove redundant code.
Remove dead code.
Merge pull request #203 from mozilla/fix-image-thing-again

Fix image thing again