Added debugging of position and duration of media file.