Hi Hans,
I did start to play with streams. There are two typos in page-str.tex:
\def\setmarknote[#1]#2%
{\doglobal\incrementvalue{mn:#1:n}%
% \setgvalue{mn:#1:t:\getvalue{mn:#1:n}}{#1}%
% ^^
\setgvalue{mn:#1:t:\getvalue{mn:#1:n}}{#2}%
% \expanded{\marking[#1]{\getvalue{mn:#1:n}}}}
% ^^
\expanded{\marking[mn:#1]{\getvalue{mn:#1:n}}}}
Cheers
Vit