Do some sanity checking on TextRenderer.startLine so it doesn't break things when set to a negative or too high value. Also add additional tests to TextRendererTest.