Unify print progress functions
There's two functions, I've merged them into one for better code reuse.
Also, removed the redundant config.head_progress variable.
There's two functions, I've merged them into one for better code reuse.
Also, removed the redundant config.head_progress variable.