Closed subschemes and closed immersions of schemes have been causing me a lot of confusion for a while now. I have a few questions that I think might clear things up. Please assume that when I use the term "ring" that I mean "commutative ring with identity" whose morphisms take $0 \mapsto 0$ and $1 \mapsto 1$. Sorry for the long question, but I feel it is necessary to spell out the definitions I am working with rather than expect people to chase them up.
My first exposure to this was Hartshorne page 85. There he makes the following definitions:
A closed immersion is a morphism of schemes $\iota: Y \longrightarrow X$ such that $\iota$ induces a homeomorphism of sp$(Y)$ onto a closed subset of sp$(X)$, and further that the induced map of sheaves, $\iota^{\#}: \mathcal{O}_{X} \longrightarrow \iota_{*}\mathcal{O}_{Y}$ is surjective.
A closed subscheme is an equivalence class of closed immersions, where we say that $\iota: Y \longrightarrow X$ and $\iota': Y' \longrightarrow X$ are equivalent if there is an isomorphism $\psi: Y' \longrightarrow Y$ satisfying $\iota' = \iota \circ \psi$.
After having a bit of confusion with the closed subscheme part, I consulted Görtz & Wedhorn where, on page 84 (Definition 3.41) they give their own definitions. Their definition for a closed immersion is identical, however their definition for a closed subscheme is as follows:
A closed subscheme of a scheme $X$ is given by a closed subset $Y \subseteq X$ (let $\iota: Y \hookrightarrow X$ be the inclusion) and a sheaf $\mathcal{O}_{Y}$ on $Y$ such that $(Y, \mathcal{O}_{Y})$ is a scheme, and such that the sheaf $\iota _{*}\mathcal{O}_{Y}$ is isomorphic to $\mathcal{O}_{X}/ \mathcal{I}$ for $\mathcal{I}$ a subsheaf of ideals of $\mathcal{O}_{X}$.
With that in place, my question is basically threefold:
1) Aside from the suggestive name, Hartshorne doesn't seem to suggest (at least not to me) that a closed subscheme is actually a scheme. Indeed, how does one even make sense of putting a scheme structure on an equivalence class of morphisms?
2) Görtz & Wedhorn seem to overcome this by simply defining it to be a scheme. How are their definitions equivalent (if they are)? One big problem I am having seeing this equivalence is relating the surjectivity of $\iota^{\#}$ and $\iota^{'\#}$ to the sheaf of ideals in Görtz & Wedhorn. The issue is, since the category of rings is not abelian (indeed, not even additive as far as I know), I can't expect to have kernels and cokernels, and so I can't expect to be able to take $\mathcal{I}$ to be the kernel of the surjective morphisms like I could if they were sheaves of abelian groups.
3) I tried to play around with the affine case in Hartshorne's definition to make sense of things. Let $A$ be a ring with ideals $\mathfrak{a}$ and $\mathfrak{b}$. These give morphisms of schemes Spec$(A /\mathfrak{a}) \longrightarrow$ Spec $A$ and Spec$(A /\mathfrak{b}) \longrightarrow$ Spec $A$ which induce homemorphisms onto the closed sets in the obvious way. My intuition suggests that these should be "equivalent" (for the purposes of defining a closed subscheme) precisely if $\mathfrak{a}$ and $\mathfrak{b}$ have the same radical, since then $V(\mathfrak{a})$ and $V(\mathfrak{b})$ would be the same. Indeed the radical is just the intersection of all primes containing them. However, by Hartshorne's definition, that would require that the isomorphism $i$ be induced by an isomorphism of rings $A / \mathfrak{a} \simeq A/ \mathfrak{b}$ whenever $\mathfrak{a}$ and $\mathfrak{b}$ have the same nilradical, which is obviously nonsense.
The long of the short is I am stumped and incredibly confused. Any advice, or references, or answers (partial or full) to all or any of these questions would be greatly appreciated.
Bonus question: Is there a way to fix my confusion $\textit{without}$ resorting to quasi-coherent sheaves?