Characterizing and improving generalized belief propagation algorithms on the 2D Edwards-Anderson model