Fix a crash on startup when no setting file is present.
Added a TODO