Zoltan dev: fixes and adjustments; linking rich elements

Fixes and adjustments to support boundary cases (e.g. empty staff); link certain rich elements together with <annot> such as continuous variants and variants/emendations spanning across bar lines.