Readd G3D-v8.0_hotfix9.diff that slipped through thanks to .gitignore
Core/Misc: Fix abort() on shutdown on *nix

Wait for cliThead to exit before deleting it to about std::abort() triggered on *nix systems.