New check that referenced output voices are printed

Scores are now created only if all the voices referenced by
input notes are actually printed.