program model: changed to use standard strings throughout

changed line text function to return standard string
changed update function to take standard vector of standard strings
changed update function from public slot to just public function
changed line info structure text member to standard string
changed update line function to take standard string
changed translator translate function to take standard string
updated all callers of changed functions accordingly
used auto if-statement scoped variables for several function pointers