improved handling of MIDI system messages
minor cleanup
improved exception handling