use calloc for allocing events to remove a few 0/NULL assignments
remove another 0/NULL event member assignment
fix the last memory leak from xmidi.c