Fixed populateTree progress bar again
Added refresh button
Added events for directory list refreshing
Fixed copy trimmed option for files