fixes GL/EGL flares in gunstore

fix for #16