allow exercise classes (issue 174) and use linear="no" for rearnotes (issue 157)