Sidebar Widget: avoid duplicate code to set bookmark/breakpoint
Only load last session files if we need to do it. Refs #1347
fix typo
Merge pull request #1348 from pepeleproso/master

Ramdon fixes