Added edgeflag, texture matrices and GL debug groups