Added TextRectException class and render_textrect to text_only_lesson