Using QTextStream actually fixed all of the problems. I will investigate QStringList later tonight as it looks very useful.

It's taken me a while to wrap my head around C++ and QT and it finally feels like it is starting to come together.

Thank you.