it's supposed to detect if a track is loaded or not.  There's a lot of stupid code that exists because we don't know if a new track has been loaded or if one is loaded at all.