Improve performance

Keep track of downloaded files in another file to increase performance.
Can move files away from SD.
Some other improvements.