Holy moly, thats a beauty!!
I will have to take some time to understand the code!
And thanks for sharing!