Why did you declare the gfxScreenShot and bmpPicture fields as static?