Minor tweaks after viewing some comments on other pull requests (escape HTML input, bring focus and blur behavior into line with app spec).