Nonlinear bubble dynamics and the effects on propagation through near-surface bubble layers