Add view switcher + full screen graphs

Refactoring: now uses a clean way to switch views with call to
"onClose" function in the views, for proper cleanup.

Added a "Full screen graph" view on Diagnostics screen.