exit() now calls registered handlers before calling _exit(). And initialize_libc() can now register a handler to close stdout and stderr on program termination!! :)