Addded quit keyboard shortcut.

Closes #300.