Merge pull request #128 from ahmedcharles/settings

Fix more crashes when the window is closed before the settings dialog.
Update to Communi 1.2.1, which is the new version of the irc library.