Fix crash from editing UI outside dispatch thread, fix repaint when
reducing pack result count