Topology

See #115.

Let's see if closing and reopening works ...