Text queue class