For if lazy events queue is empty then we should launch the app, otherwise just push the event to the queue.
Because there's chance that app is launched but the main document is not finish loading, then handlers are not registered yet, we should queue incoming events in this time slot.