Add support for thread names on BSD, Windows (MSVC-only), and OSX

Tested only on Linux and Windows MSVC currently...