GetGlobal and GetGlobalTime and other fixes, prettifying, etc.