Sorry, I missed those.
In order:
1. Yes. The error is definitely at that line.
2. Yes, the debug.print prints what I would expect to see. No spaces, special characters, missing characters, etc.
3. Yes. This was the case even before refreshing the window. I also commented out the problematic line...