2 added app.isInitialized to main for mobile tombstoning