Updated qOpenGLCVWidget with grayscale support