InitConfig(): Quit declaring TmpBuf everywhere and replace it with ErrBuf at the top of the function.