Various bugfixes, for media not playing correctly in a playlist