Reworked the MIDI loop. Not working properly.
Clean up.
Use MIDI library.
Merge pull request #1 from mrhenko/midi-library

Use MIDI library instead of own code.