Add ability to force downloads
Add debug output handler
Add cache clearing
Improve error handling