added functionality to refresh/remove/sort panel and progress bar