better printing of midi output