AWOL, the F() macro did help, thank you. It is much more stable now, but still is freezing at random points. I'll get output to serial and to the SD card for a while, then it appears that the program or one of shields has frozen and no more output. This is on an UNU R2. I may still be near the memory limits.