Event manager and some plugin changes. Plzvalidatekthx.