1. 4
  1.  

  2. 2

    Awesome! I’ve written a very hacky implementation of the same, and incidentally, I was just sitting down to rewrite it from scratch and get rid of all the cruft. Thanks for this post — I’ll be using it as a reference!