Threading fixes

Creating thread objects at the start(), not than adding the handler.