Loop over tracks in main, fixed some argument numbers for commands
MIDI parsing works! show only global track information by default. Documented the event types.