Progress bar handling -- initial commit