Added MIDI but the port doesn't work yet, investigating. Also cleaned up the comments and the code