All global variables were renamed with a g prefix naming standard. Refactor is still incomplete.