Feature/thumbnails

I am making a pull request for vecna so to ease review of this code.