Riggs, additional code and docs by me. Per discussion.
Attach a file by drag & drop or click to upload