Paginator that uses all available screen/window width

check for 'error' mode in a few more places

In particular, I want to be able to switch to 'error' mode rather than throw a real error() on test failures, because that's a little more responsive and might be recoverable. (On some Android devices the font is slightly different, and tests fail as a result.)

Created by  akkartik  on November 13, 2023
7SICLTEDRE23UDA5RMYFRSODTYBDWAJCX3BSYLDHVAPMTMVGDZCAC
Change contents