Improve thumbnail set/unset/upload.