Adds quiz preamble support; fixes bugs
Mergin master into gh-pages