Pdf, Audio, Video

Further tweaks on some other issues including the dialog ui, mostly
smoothing out handling of pdf audio and video objects