Proof (almost everywhere properties and integrals)
$\int f \d μ < \infty$ $\implies$ $f<\infty$ almost everywhere
Let $A_n := f\inv([n,\infty])$ for $n\geq 1$. By Markov, $$ \begin{align*} μ(A_n) \leq \frac{1}{n} \underbrace{\int f \d μ}_{<\infty} \xrightarrow{n\to \infty} 0 \implies μ(A_n) \to 0. \end{align*} $$
Moreover $f\inv(\set{\infty}) = \bigcap_{n\geq 1} A_n$ with $A_n$ being a decreasing sequence. Noting that $μ(A_1) < \infty$, continuity of $μ$ yields $μ(f\inv(\set{\infty})) = 0$.
$\int f \d μ = 0$ $\implies$ $f = 0$ almost everywhere
Let $A_n = f\inv([1/n, \infty])$ for $n\geq 1$. Again by Markov, $$ \begin{align*} μ(A_n) \leq n \underbrace{\int f \d μ}_{0} = 0 \implies μ(A_n) = 0. \end{align*} $$
Moreover $f\inv((0,\infty]) = \bigcup_{n\geq 1} A_n$ with $A_n$ being an increasing sequence. Therefore by continuity $μ(f\inv((0,\infty])) = \lim_{n\to \infty} μ(A_n) = 0$.
$f=0$ almost everywhere $\implies$ $\int f \d μ = 0$
Let $h\leq f$ be a non-negative simple function, with a canonical representation $h = \sum_{j=0}^{n} α_j \mathbb{1}_{A_j}$ where $0 = α_0 < α_1 < \ldots < α_n$. For $j=1,2, \ldots, n$, since $h\leq f$, $$ \begin{align*} A_j = h\inv(\set{α_j}) \subseteq h\inv((0,\infty]) \subseteq f\inv((0,\infty]) \end{align*} $$ so applying $μ$, $$ \begin{align*} μ(A_j) \leq μ(f\inv((0,\infty])) = 0 \end{align*} $$ and hence $$ \begin{align*} \int h \d μ = \sum_{j=0}^{n} α_j μ(A_j) = 0. \end{align*} $$
Therefore $\int f \d μ = 0$.
$f = g$ almost everywhere $\implies$ $\int f\d μ = \int g\d μ$
$f-g$ may not be non-negative, so we can't integrate it.
Consider the measurable functions $\max\set{f,g}$ and $\min\set{f,g}$. Then $\max\set{f,g} - \min\set{f,g}$ is non-negative measurable.
Since $f=g$ almost everywhere, $\max\set{f,g}-\min\set{f,g} = 0$ almost everywhere. From the above, $$ \begin{align*} \int \max\set{f,g} = \int \min\set{f,g} + \underbrace{\int (\max\set{f,g} - \min\set{f,g})}_{0} = \int \min\set{f,g}. \end{align*} $$
But using $\min\set{f,g} \leq f,g \leq \max\set{f,g}$, $$ \begin{align*} \int \min\set{f,g} \; \leq \; \int f, \int g \; \leq \; \int \max\set{f,g} \end{align*} $$ so we must have $\int f = \int g$.