Add option to activate the dual pane mode for settings, (1/2):

and some code cleanup