Let $G$ be a group and $M,M',M''$ be $G$-modules. Again, I am trying to understand the following section from Milne's Fields and Galois Theory (page 70):
Here, the definition of the map $d: M''^G \to H^1(G, M')$ is described. For an $m'' \in M''^G$, the value $d(m'')$ is the class of the crossed homomorphism $G \to M', \: \sigma \mapsto \sigma m - m$ for a chosen $m \in M$ such that $m$ maps to $m''$ under the map $M \to M''$ from the first sequence.
Question: Why is $d$ well-defined (in particular, why does the definition not depend on the choice of $m$)?
The thing which makes me suspicious also is that $\sigma \mapsto \sigma m - m$ is a principal crossed homomorphism, so it must be $0$ in $H^1(G,M)$, isn't it? But then $d$ would be the zero map which makes me believe that I misunderstood something.
Could you please explain this to me?

Why is $d$ well-defined?
A priori $d$ depends on the choice of $m$, so let $m_1$ and $m_2$ be elements of $M$ with $\pi(m_1)=\pi(m_2)=m''$ (writing $\pi$ for the map in the exact sequence from $M$ to $M'$). Then $m'=m_1-m_2\in M'$ (where we consider $M'$ as a submodule of $M$).
We have crossed homomorphisms $G\to M'$ given by $\phi_1:\sigma \mapsto \sigma m_1-m_1$ and $\phi_2:\sigma \mapsto \sigma m_2-m_2$. Then $\phi = \phi_1-\phi_2:\sigma \mapsto \sigma m'-m'$ and so is a principal crossed homomorphism from $G$ to $M'$. Therefore $\phi_1$ and $\phi_2$ represent the same element of $H^1(G,M')$.