OK, looks like I fixed it. Man, programming at 5am has its drawbacks. I kept putting the wrong parameters into the wrong routines. Some coffee and careful debugging later, and it seems happy. -- David