cleaned up midi stuff. well, the first steps of that.