[PD-dev] [ pure-data-Patches-1309457 ] proper initialization and fix some memleaks