Multiple changes:

Improve user output feedback
Removed altered cruft
Moved midi processing to process_midi()