Bug/warning fixes, MergeTracks method debugging ongoing.