fixed ready event system. Multiple dependencies fire correctly.

Signed-off-by: Daniel <dnfagnan@gmail.com>