fixes for focus

Element.focus() didn't set focus; Textarea with inputOnFocus changed to
use tab to terminate focus