Fixed bug in StackOverflow wordWrap method, and updated demo's to use my replacement method.