Crunchy goodness.

Made extensions know of all events, fixed logic flow and an obscure bug.