change error Q variable to the global Q
Merge pull request #557 from optimizely/dfoxpowell/fix-segment-loading

change error Q variable to the global Q