Add GLMatrix, various other changes.