Added feature to handle midi message from multiple midi input devices.