calloc fixes, initial config stanza handling