minor mods
Set the window title based on loaded file. Fixes #9.
-show loaded/saved filename in titlebar, and indicate if there are unsaved changes
-prompt to save unsaved changes on exit