add toggle for sqlite logging, improved explanations of settings
made sqlite logging toggleable, fixed logic errors regarding enabled features