Fixed print statements for python 3
Added debug printing of dots for percent complete