Fixed trigger issues and some issues with connecting/disconnecting gamepads