Add total time display and fix playback issues