created new data structure to hold track info that can be saved as .xml.  all weird midi bugs are gone.