Fix a lot of selection weirdness and revamp mouse handling