partial fix for progress display (can still exceed progressbar) and fix of a memoryleak when halving only