Some variational problems and integrability results for compatible almost complex structures on symplectic 4-manifolds will be discussed. Most results are related to the (still open) Goldberg conjecture, stating that a compact almost K\"ahler Einstein manifold is necessarily K\"ahler, and extensions of it.