function handleProjectClose() {
        if (currentModule) {
            currentModule.resetModule();
        }
    }
Do some cleanup when a project is closed.
Clean up previous analysis data from the module