Final fixes for particle effects. Initial memory leak fixing, more remains.