Cleaned up a few mistakes in the GL example project.