locale, timeformat, timezone are optional now

Fixed also bug in reading config