Remove beginFrame and endFrame.

Also upgraded glm to 1.0.2 to exploit CPM caching.