remove global access to backgroundPage, optimize eventPage, track application startup time