added ability to edit and remove thumbnails