iir: echo directly, don't wait until end of loop
iir: correctly match text regex
iir: makes tab works indenting messages