For Obama, G-8 summit a mixed bag