Improved KeyPresses and Mouse Click Handling