small changes in midiinput and documentation