Crash found by ErikV in the Dependencies Model with unloading projects
We didn't update the dependencies model in case a project gets loaded or unloaded. (Or the session switched.) In that case we do a rather drastic reset() now.
Showing with 46 additions and 21 deletions