Implements destroy for IO streams
Removes debug printing
Build in correct mode
v2.9.2