If this is an excerpt from a story, I wouldn’t be of much help. But from a layman's perspective, it seems like the character is attempting to please the failed humorist or he or she would have been frank. This in turn may have triggered a chain reaction, prompting the humorist to continue with his jokes which would have further affected the character. He or she is also giving the former a false sense of happiness and appreciation.
This passage may not affect the whole story in a remarkably discernible manner, but it definitely proves the character's penchant for politeness. And that may be be a deciding factor in his or her further decisions that ultimately define the plot of the story.
If you found information in a book as well as a website then use both. dont erase the page number cause you never know what youll need it for. sence your using a website youshould give cretit to the places you got your information from and the pae number will count as a resource so i would prefer you to keep it.
you kinda worded it weird so if my answer doesnt help then im sorry.
Finally one i can answer. The answer is Idiom