fixed debug.openfunction not always working due to debug_info.what being main and not lua
shader compiler errors show the correct line if the glsl code is inlined in a lua file