Re-added window close confirmation.
Merge pull request #14 from JGefroh/fix/window-close-confirmation

FIX: Re-added window close confirmation.
Incremented version number to v0.3.1.
Merge branch 'release/v0.3.1'