SGL fix, GlassSaw, export fix
ensure sgl is locked
more unlock fixing