deleted DPC GUI related codes; revised dpc.py according to Li and Tom's suggestions