[fabbione/kronosnet] fe3c23: main: move defaults into its own function