Text this: Spectral theory of block operator matrices and applications