Changed emitAgent parameters to include agentId and amount.
Discovered a bug relating to particle lifetime for custom emitter.