fixed problem with config file being freed, still something wrong with menu_tools being freed/malloc'd