tplay: more fixes in the handling of the circular playlist