context: use statically allocated default context.

This removes the need for the atexit() handler.