inspired by VC6 failure report. In addition abstain from taking screen snapshots when running in NT service context.