Add shader validation and upgrade to freeglut.