Stuff

Oh, and I fixed a bug spotted by @massi93 causing reconnect dialog to be
useless.