The homology core and invariant measures