progressbar code, from a piece of crap that shall not be mentioned

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
add copyright and make it resizeable

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