First single message window cannot be closed
To reproduce, start a fresh instance of gajim, send a single message (not chat) to it and click the systray icon to open the message window. Now clicking "close" does nothing, the only means to close the window is by the metacity "close window" icon. The button works for anything opened after the first window.