That was most of it, though I only used 0.10 secs delay in that routine (noticeably quicker), but no big deal any way one does it).

There were a couple of other places where I added writeflush() before any reads, dunno if those helped or not.

If it's working well over USB-serial dongles, then you know you've got it right.

Cheers