Change gallery name regex to allow hyphens
Add logging to the thumbnail generation