Oscillatory Riemann-Hilbert problems and the corona theorem