fixing bug where you cannot use the editor while running the analysis
fixing ui crash bug