Minor refactoring of thumbnail generation
Minor refactoring of thumbnail generation

btrask/Sequential,johan/Sequential,btrask/Sequential,btrask/Sequential,johan/Sequential,btrask/Sequential,johan/Sequential