Threading support - thread separation implemented. This rev. is building ok