Please reply in a new post rather that updating the old one... it is hard to follow and I nearly missed that you needed a reply.
It does appear that the multiple insert is not putting the correct number of double quotes in the code. That is causing the problem live as well as when inspecting with the server behavior.
I'll take a look at that now and try to get an update. If you attach a copy of the page you are working on, I can show you what lines and code to update here in the meantime.... I may not have an update of the extension out until tomorrow since it is getting late in the day.