nitpicker: Respond to session-local focus change

This patch improves the focus handling by updating the menubar each time
the user clicks on a different view, even the old and new view belong
to the same session.
Simple desktop environment (WiP)
Generic resource monitor (WiP)