fix bogus local variables used to hold idents
care for non-default download-file

shall be used to install xbmc/pure variant
needs fixes for pur xbmc
minor improvement proving newer updates
be strict etc.