fix #4564: just kill lua in case of lua OOM and not engine
cache & reuse already compiled GLSL shaders