Progress display lib for c