Changed glut-pane callbacks and updated the sample to blend.