I think the activity/message handler should be loaded asap, and not lazy at all. Eventually the handlers could themselves lazy load the files they need to do their stuff (but I believe there is not much to load; either the app is already loaded, or it's loading and it can just register for an event like "app-ready" that could be dispatched on window, or it's not loaded at all and there is only a notification to send)