Fixed referencing global struct members. Reverted to original global struct init.