Fix sprintf buffer overflow bug.
Fix currentpwd memleak.
Fix block memleak.
Fix file memleak.
Fix bad jump that depends on uninitialised value(s) of mem_allocation_constructor.
Fixing virtual destructor.
Added SharedPtr class.
Using a SharedPtr for the ByteStream class.
Release 3.0.0.