Add to xmi.c work in progress

Hashing out some code to deal with xmi not having a noteoff event.