VID-2139

Few optimizations and code cleanups in Thumbnail code

https://wikia-inc.atlassian.net/browse/VID-2139

The only problem with setData() is that it overwrites all other values that may have already been set. Not what I want to do here.