incorporated rest of Arved Sandstrom's simple-link implementation: the FO and layout class modifications