More StringBuilder stuff and moved StringUtil methods to StringBuilder
Some IO code cleanup (WIP)