More improvements to text fields, starting to add support for unicode