Text this: The Optical Polaron in a Slab-Like Confinement