Thumbnails now work properly! Yay!