Glimmers of hope for world economy, but dangers lurk