Memory fixes and convenice methods added to LayeredParticleSystem