add strong type main_thread for a pointer to a main thread lua_State