Embed thumbnail generation in QVTKWidget to solve our crash problems