editor close-with-unsaved-changes bugfix. upgrades for first demo.