String: Fix serious character counting bug.
TextBox: Fix setText() bug.