Improved Demo program's TextBox input (closes #6)