general improvements and better playback position recording