Double click fixes

This fixes two bugs:
https://bugs.launchpad.net/mudlet/+bug/1378522
https://bugs.launchpad.net/mudlet/+bug/1369038

Being as there are two separate commits and it's such a similar issue, I grouped them into a single branch/pull.