Added state to thumbnailer
Merge branch 'refactor' of github.com:luccamordente/kuva into refactor