Optional session managing

Make the session managing a user selectable option available trough the global settings UI.