Rename s_first_text s_last_text

first_s_text
last_s_text

Updated debug logging