Add RisWidget::getHistogram and related helpers.
Use QVector for sending reference to image data in Qt signal.
Add #ifdefed code for GL debug logging.