swap tree view primary selection mode
swap diff view, minor fixes

now the profile treeview is showing diff
minor bug fixes