add namespace global; make old C globals extern C
ncrctk: working on the database inspector