pd gui generation cleanup