cleanup
moving TODO's to github issues
warn the user on close or starting a new scan if data is unsaved; this closes issue #3