Eliminate some printf errors

Eiminating more will be tricky while supporting C89.
Don't delete monitoring PNGs on cleanup
Improve kvstore testing portability