added user inputed thumbnails and fixed some bugs