core data thread saftey logadded to grammanger