Pass link_inline_p for urlpos to the Lua script.
Add CLOSEFAILED error to uerr_to_string.