Close the application when last window is closed (Synergy, c7eb0af)
This provides a nicer user experience. If there are unsaved changes the user will already have seen/dismissed the "Apply"/"Don't Apply" sheet, so don't resurrect the window and show the sheet again.
Signed-off-by: Greg Hurrell <greg@hurrell.net>