Now have a decent working midi renderer.