Make g_shutterOpen volatile