Sidebar Widget: avoid duplicate code to set bookmark/breakpoint
fix typo
TreeProjectsWidget: try to use nproject more