Text field and view fixes (followup to #52).