Remove unused main_thread parameter from Thread::create.
Merge pull request #2935 from southerngs/thread-code-cleanup

Remove unused main_thread parameter from Thread::create.