Sort:  

Glad you enjoyed it, and congrats on actually going through and cracking the code yourself! It's far from trivial. =)

Indeed. The instruction manual was paramount.