respect --{enable,disable}-logfile, fix initialization with no config

few simple fixes