Count mouse clicks correctly, from Balazs Kezes.
Allow keys and send-keys to invisible panes, from saggy-kun at users dot
sf dot net.