fix some working set view issues

Fixes #9019 
Fixes #8973
Fixes #9032
Fixes #9142
if the focus is in the project tree then remove the active class so the blue highlight goes away