Fix external instrumentation
Simplify streams handling
Disable some externals for testsing
Add lock and lockfree implementation of streams