Move strdup in bg_lib to BG_strdup in bg_misc
Remove uncessesary strdups
Add BG_InitAllConfigs
Cleanup the configs on VM shutdown
Checking the wrong string…
Better handling of null pointers in BG_Free.