Fix regressions and issues with the image viewer
UI done for frame grabbing