Excellent!
Now just send me your address and I'll send you my invoice.
Just kidding of course
I'm glad I could help!
For the benefit of other users, what did you do to get it to work for 4.0.12?
Did you use the whole of the code for 4.0.14 that I provided or did you just change that little bit of code in your stats.php file?