On lateral waves in slab configurations and their relation to other wave types