I wasnt difficult, just complicated. There are too many hoops to jump through to get thing to do what you want. But the code itself was utterly rediculous. It should be as easy as calling a function. But its not.

The program complied fine, and it was working to an extent, but the person who wrote that code took a stats reading, sleep for 2 seconds, took another stats reading then took the two results away from each other. I tried to change it so it didnt have to sleep, but it didnt work. So I gave up.

This was all for a bit of eye candy anyway. Not essential.