Cleanup taglist handling and translation to tracks.

Fixes #631.