Core/Object: #ifdef URHO3D_CHECK_MAIN_THREAD