improvements to midi thru handling