[PD-dev] pd-gui-rewrite C changes