Improved text wrapping

Added ability for test wrapping to split a string anywhere if needed