Prompt user before he leaves with unsaved changes
Allow to define a debug mode in conf files

... tracked by state.debug
Only prompt in saver when we aren't debugging
Configure state on load as well
Merge pull request #286 from latin-language-toolkit/prompt_on_leave

Prompt on leave when changes are unsaved