BUGFIX:  Don't crash on wrapping long-lines.

  Previously we could try to take a substring past the end of
 a long line - if the line was a multiple of the screenwidth+1.

  THis size-check prevents that and allows wrapping to work
 successfully.