I've imported your libraries to call your heal and hurt functions on this thread, returning my post.
There were nerdier ways to do it but I was at work and didn't think about it at the time of writing.
(That's what happens when you spend too much time programming. Fortunately holidays have just began so I won't get back to work until thursday ).
I don't know if it's been a day since I last voted, but if it has, here's my new votes: