add _alert(), all prints go to /dev/stderr;
~/db is no more used;