Small bug fixes:

- Fall back to FULLY_SAFE when the plugin is FULLY_FRAME_SAFE but the
active threads count is equal to the maximum thread count.
- The hash was not always recomputed for the viewer which made images
sometimes wrong.
- For Histogram and ViewerGL don't do anything in resizeGL if the
widget's width or height is 0