I'm trying to understand Proposition 4.3 (page 562) in S. Morita's article Characteristic Classes of Surface Bundles, which can be found on Andy Putman's website here. I don't think that my question is terribly particular to the situation at hand, but I'll try and give some context in case particular details turn out to be important.
We have an oriented fiber bundle $\pi:M \to X$ with fiber a closed oriented surface of genus $g$, which I'll call $\Sigma_g$. The base $X$ need not be simply-connected. We are interested in the cohomology with coefficients in $\mathbb Z / m$ (but I don't think this particular point is essential). Part of our construction of $M \to X$ ensures that the coefficient system is trivial, and so we have the Serre spectral sequence with $E_2$-page $$ E_2^{p,q} = H^p(X; H^q(\Sigma_g; \mathbb Z/m)). $$
Partway through his argument, Morita makes the following claim: $$ E_\infty^{2,0} = \operatorname{Im}(H^2(X;\mathbb Z / m) \to H^2(M; \mathbb Z)). $$ Why is this?
There is a filtration (I'll suppress coefficients here for simplicity) $$ 0 \subset F^2_2 \subset F^2_1 \subset F^2_0 = H^2(M) $$ with $E_\infty^{2-i,i} = F^2_i / F^2_{i+1}$. The filtration comes by taking (at least following Allen Hatcher's construction in his spectral sequences book) $$ F^2_i = \operatorname{Ker}(H^2(M) \to H^2(M_{i})), $$ where $M_i$ denotes the fiber of the $i$-skeleton of $X$. This should mean that $$ E_\infty^{2,0} = F^2_2 = \operatorname{Ker}(H^2(M) \to H^2(M_{1})). $$ Why is this also realizable as the image of the pullback of the projection map? Is there some exact sequence lurking somewhere?
One way to see this is that the Serre spectral sequence is natural (we only need this naturality in fiber bundles over $X$). There is a map from the bundle $\Sigma_g \to M \to X$ to the trivial bundle $* \to X \to X$, and so you get an associated map of spectral sequences: $$ H^p(X; H^q(*; \mathbb{Z}/m)) \to H^p(X; H^q(\Sigma_g; \mathbb{Z}/m)) $$ For the right-hand spectral sequence, $E_\infty^{p,0}$ is a subgroup of $H^p(M)$ coming from the filtration you list. On the left, however, the spectral sequence is computing $H^*(X)$ and degenerates at the $E^2$-term to $H^p(X; \mathbb{Z}/m)$, concentrated on the $q=0$ line.
This induces a map of $E_\infty$ terms, which is a filtration of the map $H^*(X) \to H^*(M)$. For $q=0$ it is a surjection from $H^p(X;\mathbb{Z}/m)$ to some subobject of $H^*(M)$. This exhibits the $q=0$ line in the $E_\infty$ term as the image of $H^*(X)$.