initial refactor
old dependency and deletion
a few minor things
start adding segments earlier
further missing delete bits
chrome hls flash fallback