Removed Length.
Made apply_terminal take a runtime_environment_t.
Removed runtime_environment_t from stream.hpp.