Correctly tear down shaders.
Use GL_CLAMP_TO_EDGE instead of GL_CLAMP.

Oops, this one's even listed in the "Common Mistakes" page on the OpenGL
website!  :)