Lots of changes, mainly GLTS.

Does not work properly at this point.