What does the phrase "quite a state" mean as it is used in the sentence, "By the tone her father got home from work and came to check on her, she had worked herself into quite a state"?