Add an emergency reset menu item

Fixes #191