Tweaks to InputText plugin