Add some system introspection.
Get rid of clang warning.
More system introspection and config files.
Fix 64-bit number formatting.