fix: typo in thread_main.
fix: make context stack thread local.
fix: proper context set on __exit__.
fix: pep8 formatting.
fix: rework context stack.
fix: prevent usage make_current inside with.
new: add null_current class method.
new: context handling with assertions.