Added deletion of thumbnail on library object delete