Better support for gamepads
Fixed bug in Settings