Don't use stringstreams for score output, they were causing weird memory errors on shutdown.