Northwest turns a profit in third quarter