Progress bar using PyGTK and threading in Python