Better text failure

Now, if there is insufficient space to fit text, Text.Util.writeLineHorizontally will write no text, rather than putting the text in the wrong place where it won't fit.