update kcore docs, fix bad type names and dumb logic