Use the settings interface to power the line breaking algorithm too.
Initial attempts at tidying the typesetting code.
Of course and unfortunately changing the typesetting API has major implications for packages which subclass the typesetter.