Added TrackColorPref and TrackColorPrefs, structs that together store track color preferences and handle serialization to/from QVariant.