Possible fix for crash when display access is not possible.
Possible fix for crash when display access is not possible.

svn path=/trunk/libavg/; revision=1464

scotty007/libavg,th3infinity/libavg,libavg/libavg,hoodie/libavg,yyd01245/libavg,th3infinity/libavg,libavg/libavg,th3infinity/libavg,libavg/libavg,th3infinity/libavg,yyd01245/libavg,yyd01245/libavg,scotty007/libavg,scotty007/libavg,yyd01245/libavg,hoodie/libavg,scotty007/libavg,hoodie/libavg,libavg/libavg,hoodie/libavg