Separate key and mouse listeners to remove need for clickscreen on/off
boolean. Attempt to prevent JVM crash for jnativehook