Fixed sizing issues with hist windows. Also fixed cv2 issues with frame_by_frame display.