almost there with fixing refresh of the stringstream
uploading this as a build
fix for XP or whatever the issue was