Template refactoring and basic thumbs settings form