Adds more GLM porting.
Formatting / Restructuring changes.
Finishes GLM port; nothing is guaranteed to work.