intermediate fixes, Otila patch
added scratchpad local file cache, many thanks to Otila patch
fixed bug with scratchpad size check, by Otila
fixed indentation
added scratchpad fetching via http
fixed wrong scratchpad loading message
windows build is fixed
attempt to fix bug with re-login
attempt to fix(2) bug with re-login
fixed home folder for windows