initial cleanup of wordwrapping