Changes involving mainly threads handling.
Adds tests of the core components.