Add space in front of PRIxxx for consistency
Misc cache fixing up
remove unnecessary checks for g_initialized