Adding tracks finished, works under ideal conditions, fixed bug that caused .tg files impossible to open, fixed bug in repetitionTracker