changed plural names of some models
switched from PIL to pillow, for better jpeg support
provided something for when thumbnail on gallery index fails