Moved 3 globals to constants.  Only two more globals remaining!