Cleanup of buffering text/strings.

This removes the need to use ||= and such, which should speed things up a bit
and keeps the code cleaner.