safeguard against thumbnail corruption or other errors fixes #893 better system to update name and thumbnails fixes #889
dfe1ac8d