Resurrect --toggle

Somewhat related to #24.
Resurrect --quit

See also #24