downloadbar and small fixes