Adds cleanForPreview, this will clean up a txt document forceing a single line at an approximate width, trying to find the nearest space to that width. My plans is that the HTML version will a similar concept cutting the text at same point but not removing the style