It’s a last resort because it takes longer, but AE’s rotobrush has anti-boiling features. read up how to use it, it’s a little different than masks. You can also get done a lot faster by using junk mattes just before rotobrush.
The hair needs transparency and color spill replacement. If you want better results,try Primatte and Ultimatte, if not, I’d recommend creating your own lightwraps, transparencies, or soft edges precomps to soften the pixel edges. channel blurs, median blurs, matte chokers can also help.