Update view model when selecting an empty/non-git directory so that UI refreshes correctly. Make sure the observable for the git directory creation event gets disposed after getting one event, so that FileSystemWatchers listening for creation events don't accumulate if the directory is created more than once.
The Graph is always set to CompoundFDP to start, so that single-commit repos do not crash the graph. The if statement is moved to after the initial Graph = _graphBuilder.Graph() to prevent a crash. When switching from a single-commit repo to a many-commit repo, SeeGit will crash if the method is set to EfficientSugiyama in Graph()
…wing a repo with one commit.
Got rid of recursivity in AddCommitsToGraph and HighlightCommits. Note: The KeyValuePair is preferred to Tuple in this case. We're doing alot of allocations. Fixed an issue with graph building that caused double rendering. Fixed a logic issue with setting algorithm type.