add maxlength, size; fix bug w/undefined local

- add -maxlength to input text closes #86
- add -size to input text closes #88
- fix bug with undefined local