Better error checking when loading tracks