Reworked textwidget interface