Hi Jastrul,
There's a full explanation of the code on my next blog post - http://shkspr.mobi/blog/?p=1971
T