You're getting the right idea!
There's one thing you should keep in mind though, she isn't getting upset because "don't give her as much attention as she'd like". She's getting upset because she NEEDS that attention. She's been home alone and bored all day, she isn't miffed and mad that you aren't giving her what she thinks she deserves...she's desperate for your attention. In other words, it isn't a 'want' it's a 'need'.
I know that just seems like semantics, but that's the difference between 'wanting' $50 for a game, and 'needing' $50 to pay your bills. It's $50 either way, but why it's being asked for makes a difference in whether/how we give.
She will pick up on your emotions too, but unlike another person she doesn't have the choice to willfully decide to be cheerful anyways. She'll smell you being upset, and her brain automatically switches into a similar mode. No choices, unfortunately.
I have to make a conscious effort sometimes to remember that my cats are cats, not people. If I'm having a bad day they are more likely to misbehave, but a large part of that is how I'm reacting to them. If I'm having a bad day, sit down on the couch, and immediately have 3 cats in my lap I might not like it. Any other day that makes me very happy. If I then shove them off, they'll get confused, and then bored, because I'm not following our normal routine of cuddling and petting them, so then they get up to trouble.
If I make the effort to get out the laser pointer, rather than cuddle them, I'm working off their energy, preventing them from doing 'bad' things, AND cheering myself up. Who can stay mad with 2-3 silly cats running into walls all over the place?
I'm glad she's improving! It takes a lot of work, but it's totally worth it in the end.