minor improvements to string outputter