Some code cleanup in GPUParticles sample