Added printing of last chunk played in case of input error