Only close open contexts.
Avoid opening context with no data.
Replace list with a tuple.

Context value gets passed to a set, which complains, that list is
unhashable.
Display conditions that were loaded from context.