Particle engine destroy added.

Added a check for when all particles are disabled, at this point the
engine will destroy itself to save precious resources.