Please wait..until it opens main window