Replaced the global text_object array and count with a text_object_list