patch always when no downloads are running
check free space before allocating a file, fix input function
Merge branch 'master' of github.com:downloadam/client