The creation of thumbnails is now queued which strongly improves performance.

#changelog closes #348