Text this: Contagion and volatility with imperfect credit markets