Cleanup in LoadDatabaseToStringMap;

* use xmemcpy
* check for none null terminated key