Added ability to use thumbnails instead of just test.
Made changes to use thumbnails instead of words.