remove YouTube-centric logic from media
remove early commented-out debugging
clean up extended popup fields