Fix crash when AE is missing. Created AEProxy for handling events.