refactor logging, download cache only works on small trees

have to develop on linux for a while to get a .http cache that will work
on windows
logs - for review