As promised.. here is the source code:
http://www.funkemunke.com/ChaosGroove_Source.zip
You might have to fiddle with things to get it to work, please have a look at the readme file first.
I have it proves useful for people. I have no motivation left for working on this anymore, so you are on your own with this. Sorry!
Richard