Add support for the static version of isMainThread (named IsMain not to conflict with the existing instance version). Fix bug #7347
Add support for the static version of isMainThread (named IsMain not to conflict with the existing instance version). Fix bug #7347

mono/maccore,jorik041/maccore,cwensley/maccore