Add histogram panel.
Implement different fragment shader subroutines for texturing image panel and histogram panel.