(doc) tweaks to docgen for atest doc
(core) misplaced memset breaking db fix