Thanks, after some experiments it worked just fine! But now I've become
greedy... is it possible to identify the last bar on every line? What I
would like to do is to have a connected bar line between Staffs at the
end of each line. With many staffs it's sometimes easy to get confused
when going to a new line.