Fixed Integer Overflow, added progress bar

Lets see if we can figure this pull request thing out