restructured a bit and added playback menu