I ended up using BankNorris' code from post #20, which you can see
here. Thanks for the help, everyone.
Would anyone be able to do some basic testing of the
new beta version to see if it works? If not, I'll see if I can do anything on the PTR later.