Packed Globals into object - added Q for terrain