Finished implementing text widget.