Bail from SetIcon when no icon found
Reset dirty bool at the start of SetIcon
This prevents situations where OnAfterTreeRender is called multiple times and in turn SetIcon before the first one has finished and reset the dirty bool.
Don't update Icon if it's passed the same value
Fix weird formatting
Add S&box .editorconfig
dotnet format
Merge pull request #1 from peter-r-g/peter-r-g/small-fixes
Small Fixes