Refining score2musicxml program.