Add beginnings of support for text-based user interface.