Fixing /media_proxy and other minor fixes.

As per title.