(Apple) Start to clean the objective-c code
(OSX) Clear state when a gamepad is disconnected while running; any newly connected pad will occupy the lowest open slot