Alright, I'm an idiot. There were some CRLF that I was stripping out while editing. ldolse had a good suggestion for getting it working in smaller pieces and was what led me to the fact that the line breaks was where the mistake was.
Thanks for all the help.
|