Read settings from settings manager
Finally fix the threading model using handelers. Needs cleanup