@fjarrett I thought so, but I couldn't get prepare() to work correctly.  I even used the same Codex article.  I was starting to spend too much time on this one thing, so I abandoned my effort.  I can continue to work on this, or if you want, we can have someone else take a look on it.  Would you like me to continue on this myself?