Nonlocal quantum effects in cosmology: Quantum memory, nonlocal FLRW equations, and singularity avoidance | Synapse