Remove unused libraries.
Prevent the modal view from caching the remote URL.
Add code for generating inline SVG preview.