allows the deletion of the files from the navigation when they are deleted from the project, or when the project is deleted. Still some issues in some cases that need to be fixed but at least the deleted files are not opened anymore because of the navigation history
deleted some debugging method
Changed the method name and also modified the file comparasion
Merge pull request #2944 from albualexandru/history-bug

History bug