Warn on exit without saving changes, closes #3