I added a randomization feature to randomize the main image in multiples of four (when randomized by individual image, mainCounts of under 4 or over 16 would throw error messages because there were not enough thumbnails)