settings: refactoring selection field
cosmetic: remove trailing whitespace
settings: default to string if type isn't found
daemon: use a delegating constructor

Fixes bug where internal file pointer was not set properly