TimePeriod update function should return an array of time segments

Fixes #3857
Don't validate config items if we've already encountered an error.
Change log level for some debug messages.
Fix --disable-shared

Fixes #3852