Fixed some small bugs, fixed thumbnails