add progressbar drawing function

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>