cleaned up code, added percent downloaded display