Cleaned up MidiListener.