added a semi-working text entry widget