Remove outdated controller sources. Set focus/selection to correct tree item on file open.