added null ref fix for when glimpse is disabled
Merge pull request #1 from paynecrl97/master

added null ref fix for when glimpse is disabled