VE-471: more doc comments and minor cleanup.
VE-471: add doc comments to media results widget.
VE-471: 'media' -> 'requestMediaDone'
VE-471: clear query input on close.
merge with 471, resolve conflict