Updated variable types to use unsigned
retyping + adding progress start variable