More fixups for ERC.

I can't tell of scrolltobottom is working properly.