support vane.sleep, add thread userdata metatable.