global externals no longer have value NULL'd

fixed bug where printf would crash (since stdout/stderr would be set to 0)