Add some download control.
Removed unused import.
Add pdf.js builtin support (currently not connected).