Ah wasn't too sure where these native thread names would be needed and got a bit carried away with the implementation.
If they are just needed for debugging purposes that was indeed overkill, did simplify it so it pretty much only gets rid of the mach port usage.