What I sometimes do, is to slow my own research. That is, I research something until it's 1 turn left and then swap to researching another technology. I usually do this due to having good
science through traderoutes. But ofc if I'm a head in tech, and low in infrastructure, it also makes sense; just to catch up.
I would say that the most annoying part of having alot of
unhappiness is that it, doesn't just affect your "tech lead" (if there is one), it affects policies, faith, gold, growth etc. So
overall it's really crippling to your whole empire. I do find the happiness system quite fun though, since it's so challanging. One really has to "think" through every little decision; micromanage, and learn how to "adapt" to every circumstance. I'm not sure if I find it good or bad. It can be quite stressful, since a game often isn't decided until late game in the very last few turns! So my old style of playing isn't working anymore, when I often started a game to quit it due to seeing myself or another a run away civ as a winner early on - or - just due to irrational lazyness & boredom. Now days I finish pretty much about 90-95% of all of my games, compared to 5%-10% in my earlier civilization days. I'm quite grateful for this, since the game as it is, has really challanged my own lazy character to "follow through".