[python] adds a background progress dialog

@jimfcaroll, sorry git still gets me sometimes.