Made application quit-and-relaunch play nice with the "Are you sure you want to close [session name]?" confirmation prompts. Made preferences window reappear after relaunch if it was open.