Redesign the thread handling.
Change the output streaming for `fostlib::string` to use the underlying platform implementation