Ok, got it, I'll try to make you some working patch tomorrow as I'll have to spend the time on train... The problem is as always the lack of time, so I'm hoping till the very end that someone else will do it for me :-)
P.S. I've checked on the CPU mining memleak and it's still leaking albeit slower. Like 200 mb per day or so.